package com.godme.gateway.sentinel;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CodeEndpointSentinelResource {

    public static String checkBlock(String token, BlockException bk){
        System.err.println("checkBlock : " + bk.getMessage());
        return "";
    }

    public static String checkFallback(String token, Throwable throwable){
        System.err.println("checkFallback: " + throwable.getMessage());
        return "";
    }
}
